BenSelect Documentation
Item Property
See Also  Send Feedback
Selerix.Foundation.Data Namespace > SafeDictionary<TKey,TValue> Class : Item Property
key
Gets or sets the value associated with the specified key.

Syntax

JScript 
public hide  this[ 
   key : TKey
] get,set : TValue

Parameters

key

Property Value

The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionkey is null.
System.Collections.Generic.KeyNotFoundExceptionThe property is retrieved and key does not exist in the collection.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.